


const name = {

    name: "hoho",
    getName: () => {

        console.log('name', this.name);

    },

    setName: () => {

        new Promise((resolve, reject) => {
            console.log('promise');

            setTimeout(() => {
                resolve(4444444)
            })

        })
    }
}